home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / BARNET / ARMLINUX / MAIL / 9806 / text0302.txt < prev    next >
Encoding:
Text File  |  1998-06-30  |  1.0 KB  |  21 lines

  1. Paul Koning writes:
  2. > Curious... why couldn't the allocator skip the space taken by libc and 
  3. > continue allocating after whatever place it ends?
  4.  
  5. Because the allocator asks the kernel for more memory, and the kernel
  6. just says 'sorry, I've only got 12MB to give you'.  The brk man page
  7. doesn't give much information, but basically the data segment can only
  8. be extended up until the next object present in the memory map (which
  9. happens to be the C Library at 12MB).
  10.    _____
  11.   |_____| ------------------------------------------------- ---+---+-
  12.   |   |        Russell King       linux@arm.uk.linux.org      --- ---
  13.   | | | |  http://www.arm.uk.linux.org/~rmk/armlinux.html    /  /  |
  14.   | +-+-+                                                     --- -+-
  15.   /   |               THE developer of ARM Linux              |+| /|\
  16.  /  | | |                                                     ---  |
  17.     +-+-+ -------------------------------------------------  /\\\  |
  18.  
  19. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
  20.  
  21.